.game{
    width: 800px;
    height: 600px;
    margin: 0 auto;
    border: 2px solid #000;
    position: relative;
    overflow: hidden;
}

.game .sky{
    width: 200%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../img/sky.png);
}

.game .land{
    width: 200%;
    height: 112px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../img/land.png);
}

.game .bird{
    width: 33px;
    height: 26px;
    position: absolute;
    top: 150px;
    left: 150px;
    background: url(../img/bird.png);
}
.game .bird.swing1{
    background-position: -8px -10px;
}
.game .bird.swing2{
    background-position: -60px -10px;
}
.game .bird.swing3{
    background-position: -113px -10px;
}

.game .pipe{
    position: absolute;
    width: 52px;
    height: 100px;
    left: 500px;
}

.game .pipe.up{
    background: url(../img/pipeDown.png);
    background-position:bottom;
    top: 0px;
}

.game .pipe.down{
    background: url(../img/pipeUp.png);
    bottom: 112px;
}

.game .modal{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    font-size: 72px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 600px;
    position: absolute;
    display: none;
    z-index: 10;
}

.info{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}